package com.whiskeydroid.android.view;

import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import com.whiskeydroid.android.core.AnalyticActivity;
import com.whiskeydroid.android.service.FeedCheckService;


/**
 * Created by IntelliJ IDEA.
 * User: slim
 * Date: Dec 20, 2010
 * Time: 3:44:24 PM
 * To change this template use File | Settings | File Templates.
 */
public class InitService extends AnalyticActivity {
     

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.init_service);

        
        Button b = (Button) findViewById(R.id.startService);
        b.setOnClickListener(new View.OnClickListener()
        {
            public void onClick(View v)
            {
                startService(new Intent(mContext ,FeedCheckService.class)) ;
            }
        });
    }
}
